lcPaint_DrawMpgon Home

Draws a multipolygon. Active brush is used to fill polygons, active pan is used to draw polygons outlines.

 BOOL lcPaint_DrawMpgon (
   HANDLE hLcWnd,
   HANDLE hMpgon,
   BOOL bFill,
   BOOL bBorder
 );

Parameters
hLcWnd
  Handle to LiteCAD graphics window.
hMpgon
  Handle to multipolygon object.
bFill, bBorder
  Defines how to draw polygons:

bFill bBorder Polygon type
true true Filled, and has outlines
true false Filled, without outlines
false true Not filled, outlines are closed
false false Not filled, outlines are opened

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  lcPaint_DrawPtbuf